// import { t } from '@/entry_mobile/locales/index'
import { i18n } from '@/locales'
const { $t } = i18n
export const tabs = [
	{
		name: $t('pages.task.Todo', '待办') ,
		id: ['myToDo', 'agentTodo'],
		count: 0,
		children: [
			{
				name: $t('pages.task.myToDo', '我的待办') ,
				id: 'myToDo',
				count: 0,
			},
			{
				name: $t('pages.task.AgentTodo', '代理待办') ,
				id: 'agentTodo',
				count: 0,
			},
		],
	},
	{
		name:  $t('pages.task.done', '已办') ,
		id: ['myTask', 'bidTask', 'agentTask'],
		count: 0,
		children: [
			{
				name: $t('pages.task.done', '我的已办') ,
				id: 'myTask',
			},
			{
				name: $t('pages.task.biddingDone', '竞签已办') ,
				id: 'bidTask',
			},
			{
				name: $t('pages.task.agentDid', '代理已办') ,
				id: 'agentTask',
			},
		],
	},
	{
		name: $t('pages.task.myNotice', '知会') ,
		id: ['noRead', 'hasRead'],
		count: 0,
		children: [
			{
				name: $t('pages.task.unNotice', '未读知会') ,
				id: 'noRead',
				count: 0,
			},
			{
				name: $t('pages.task.readNotice', '已读知会') ,
				id: 'hasRead',
			},
		],
	},
]
